package com.jiyun.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.jiyun.model.*;

import java.util.List;


/* *
 * @Author nxj
 * @Date 2023 08 2023/8/4 10 43
 * */
public interface CourseService extends IService<Course> {


    List<Long> showCount(Integer id);

    List<Course> courseList();

    List<Course> courseListD();

    List<Train> trainList();

    List<Quiz> quizList();

    Page<Course> findPage(Integer page, Integer pageSize, Course course);

    List<Label> labelFindAll();

    String selectLable(Integer s);

    List<Catalog> catalog(Integer id,Integer ids);

    Integer toJinDu(Integer id, Integer ids);

    List<Catalog> cataloG(Integer id, Integer ids,Integer idss);

    PageInfo<Race> raceFindPage(Integer page, Integer pageSize, Race race);

    RaceUser Bao(Integer id, Integer uid);

    List<Team> findTeam();

    List<String> findContestant(Integer rid, Integer tid);

    List<Quiz> findQuiz(Integer id);

    PaperUser findPaper(PaperUser paperUser);

    PaperUser findScore(PaperUser paperUser);

    List<Rankings> toRankings(Integer qid);
}
